<template>
	<view class="s_vedio_con">
		<!-- #ifdef MP-WEIXIN -->
		<nav-public :title="' '" :background="'transparent'" :color="'white'" :isTransparent="true"></nav-public>
		<!-- #endif -->
		<view class="s_vedio">
			<video :src="src" :autoplay="true"></video>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			};
		},
		onLoad(options) {
			if (options.url) {
				this.src = options.url
			}
		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100%;
	}

	.s_vedio_con {
		width: 100%;
		height: 100%;

		.s_vedio {
			width: 100%;
			height: 100%;

			video {
				width: 100%;
				height: 100%;
			}
		}
	}
</style>